package com.github.zihang.remote;

import com.github.zihang.fallback.UserFeignHystrixFallback;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;

@FeignClient(name="springcloud-learning-user",fallback = UserFeignHystrixFallback.class)
public interface UserFeignHystrixRemote {

    @GetMapping("/listUsers")
    String listUsers();
}
